package cn.edu.cqu.fredyvia.forum.service.impl;

import cn.edu.cqu.fredyvia.forum.entity.CommentThumb;
import cn.edu.cqu.fredyvia.forum.mapper.CommentThumbMapper;
import cn.edu.cqu.fredyvia.forum.service.ICommentThumbService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fredyvia
 * @since 2021-07-10
 */
@Service
@Slf4j
public class CommentThumbServiceImpl extends ServiceImpl<CommentThumbMapper, CommentThumb> implements ICommentThumbService {
    @Autowired
    CommentThumbMapper commentThumbMapper;
//    @Override
//    public void thumb(int user_id,int id){
//        try {
//            commentThumbMapper.insert(new CommentThumb(user_id,id));
//        }catch (Exception e){
//            log.info(e.toString());
//        }
//
//    }
}
